﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentation/master.Master" AutoEventWireup="true" CodeBehind="DepartmentMaintenanceUI.aspx.cs" Inherits="Staionery_Inventory.Presentation.Admin.DepartmentMaintenanceUI__Reload_" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <%-- Title--%>
        <div class="form-group">
            <div class="col-sm-2"></div>
            <label class="col-sm-8" style="font-size:xx-large">Department Maintenance</label>
        </div>

        <%-- DeptID --%>
            <div class="form-group">
                <%-- lbl --%>
                <div class="col-sm-1"></div>
                <label ID="lblDeptID" for="txtDeptID" class="control-label col-sm-3">Department Code: </label>
                <%-- txt --%>
                <div class="col-sm-3">
                    <div class="input-group">
                        <span class="input-group-btn">
                            <asp:Button ID="btnPrev" runat="server" Text="◀" class="btn btn-primary"  
                             OnClick="btnPrev_Click" />
                        </span>
                        <asp:TextBox ID="txtDeptID" runat="server" class="form-control" 
                             ReadOnly="True" ></asp:TextBox>
                        <span class="input-group-btn">
                            <asp:Button ID="btnNext" runat="server" Text="▶" class="btn btn-primary" 
                            OnClick="btnNext_Click" />
                        </span>
                    </div>
                </div>
            </div>

        <%-- DeptName --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label id="lblDeptName" for="txtDeptName" class="control-label col-sm-3">Department Name: </label>
            <%-- txt --%>
            <div class="col-sm-4">
                <asp:TextBox ID="txtDeptName" runat="server" class="form-control" 
                    placeholder="Enter Department Name" ReadOnly="True" required></asp:TextBox>
            </div>
        </div>

        <%-- ContactName --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label id="lblContactName" for="txtContactName" class="control-label col-sm-3">Contact Name: </label>
            <%-- txt --%>
            <div class="col-sm-4">
                <asp:TextBox ID="txtContactName" runat="server" class="form-control" 
                    placeholder="Enter Contact Name" ReadOnly="True" required></asp:TextBox>
            </div>
        </div>

        <%-- Phone --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label id="lblPhone" for="txtPhone" class="control-label col-sm-3">Telephone No: </label>
            <%-- txt --%>
            <div class="col-sm-3" onkeypress="return keypress(event)">
                <asp:TextBox ID="txtPhone" runat="server" class="form-control" 
                    placeholder="Enter Telephone No" ReadOnly="True" required></asp:TextBox>
            </div>
        </div>

        <%-- Fax --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label id="lblFax" for="txtFax" class="control-label col-sm-3">Fax No: </label>
            <%-- txt --%>
            <div class="col-sm-3">
                <asp:TextBox ID="txtFax" runat="server" class="form-control" 
                    placeholder="Enter Fax No" ReadOnly="True" required></asp:TextBox>
            </div>
        </div>

        <%-- HeadID --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label id="txtHeadID" for="txtHeadID" class="control-label col-sm-3">Head's Name: </label>
            <%-- txt --%>
            <div class="col-sm-4">
                <asp:TextBox ID="txtHeadID" runat="server" class="form-control" 
                    placeholder="Enter Head's Name" ReadOnly="True" required></asp:TextBox>
            </div>
        </div>

        <%-- CollectionPoint --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label id="lblCollectionPoint" for="txtCollectionPoint" class="control-label col-sm-3">Collection Point: </label>
            <%-- txt --%>
            <div class="col-sm-4">
                <asp:TextBox ID="txtCollectionPoint" runat="server" class="form-control" 
                    placeholder="Enter Collection Point" ReadOnly="True" required></asp:TextBox>
            </div>
        </div>

        <%-- RepresentativeID --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <%-- lbl --%>
            <label id="lblRepresentativeID" for="txtRepresentativeID" class="control-label col-sm-3">Representative Name: </label>
            <%-- txt --%>
            <div class="col-sm-4">
                <asp:TextBox ID="txtRepresentativeID" runat="server" class="form-control" 
                    placeholder="Enter Representative Name" ReadOnly="True" required></asp:TextBox>
            </div>
        </div>

        <%-- button group --%>
            <div class="form-group">
                <div class="col-sm-2"></div>
                <div class="col-sm-2">
                    <asp:Button class="btn btn-success btn-lg" ID="btnCreate" runat="server" 
                        Text="New" style="width:90px" onclick="btnCreate_Click" />
                </div>
                <div class="col-sm-2">
                    <asp:Button class="btn btn-primary btn-lg" ID="btnUpdate" runat="server" 
                        Text="Update" style="width:90px" onclick="btnUpdate_Click" />
                </div>
            </div>

        <%-- message label --%>
        <div class="form-group">
            <div class="col-sm-1"></div>
            <asp:Label ID="lblMessage" runat="server" Text="" class="control-label col-sm-8"></asp:Label>
            <asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" 
                Text="Delete" Visible="False" />
        </div>
</asp:Content>
